/*
 * ReplacementPolicy.h
 *
 *  Created on: 18-Oct-2009
 *      Author: atul
 */

#ifndef REPLACEMENTPOLICY_H_
#define REPLACEMENTPOLICY_H_
#include"../Page.h"
#include<deque>
#include<algorithm>
using namespace std;
//abstract
class ReplacementPolicy{
	Page* bufferPage;
	int numBuff;
	deque<int> lst;
	deque<int>::iterator it;
public:
	void update(int frameNo);
	 ReplacementPolicy(Page* bufferPage,int numBuff);
	 int getIndexOfFrame();


};
#endif /* REPLACEMENTPOLICY_H_ */
